import request from '@/utils/axios'
// 获取用户角色
export function getRole(data) {
  return request({
    url: '/viteApi/roles',
    method: 'get',
    params: data
  })
}
// 获取菜单信息
export function getMenus(data) {
  return request({
    url: '/viteApi/menus',
    method: 'get',
    params: data
  })
}
